Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a timesheets resource.
| id required | string timesheets identifier |
The new timesheets resource
| entryMode required | string <iri-reference> Get timesheetsEntryModesId. |
| timestamp required | string <date-time> |
| chargingInvoices | Array of strings <iri-reference> [ items <iri-reference > ] |
| chargingProjects | Array of strings <iri-reference> [ items <iri-reference > ] |
| employee required | string <iri-reference> Get employesId. |
| task required | string <iri-reference> Get tasks. |
| chargeable required | boolean Default: true |
| datetimeStart required | string <date-time> |
| datetimeEnd | string or null <date-time> |
| description | string or null |
| status required | string <iri-reference> Get status. |
| ratio required | string Default: 1 |
| type required | string <iri-reference> Get timesheetsTypesId. |
| notes | string or null |
| owningCorporation | string <iri-reference> |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
| timesheetsEntryMode | integer Get timesheetsEntryModesId. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "timestamp": "2019-08-24T14:15:22Z",
- "chargeable": true,
- "datetimeStart": "2019-08-24T14:15:22Z",
- "datetimeEnd": "2019-08-24T14:15:22Z",
- "description": "string",
- "ratio": 1,
- "notes": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "timesheetsEntryMode": 0,
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "entryMode": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "TSE",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "timestamp": "2019-08-24T14:15:22Z",
- "employee": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "task": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "parent": { },
- "shortcode": "T",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "chargeable": true,
- "datetimeStart": "2019-08-24T14:15:22Z",
- "datetimeEnd": "2019-08-24T14:15:22Z",
- "description": "string",
- "status": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "TSS",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "ratio": 1,
- "type": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "TST",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "notes": "string",
- "owningCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "shortcode": "TS",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "chargingProjectsListing": "string",
- "chargingInvoicesListing": "string",
- "payrollsListing": "string",
- "timesheetsEntryMode": 0,
- "timesheetTotalHours": 0,
- "timesheetInProgress": true,
- "customPropertiesListing": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}